package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCommentService {
    Long save(StrategyComment entity,String[] tags);

    PageInfo<?> query(QueryObject qo);

    void saveOrUpdate(StrategyComment entity);

    void update(StrategyComment entity);

    List<StrategyComment> list();

    StrategyComment getCommentById(Long commentId);

    List<StrategyComment> getTopCommends();
}
